﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>塔城地区公共就业信息有务网_个人用户登录</title>
<link href="../common/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../common/css/reset.css" />
<link href="../common/css/pageCode.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery.page.js"></script>
<script type="text/javascript">
	$(function(){
		
		$(".tcdPageCode").createPage({
			pageCount:6,  //总页数
			current:1,    //当前页
			backFn:function(p){
				//alert(p);
				console.log(p);
				//单击回调方法，p是当前页码
			}
		});
		$.ajax({
			url: "getJobHuntingLog.action",
			type: "post",
			headers:{
				token:window.sessionStorage.getItem("token")
			},
			dataType:"json",
			success:function(jobLogList){
				$("#table1").empty();
				var str=`
					<tr>
					<th>单位名称</th>
					<th>岗位名称</th>
					<th>发布时间</th>
					<th>招聘人数</th>
					<th>学历要求</th>
					<th>工作地点</th>
					<th>工资范围</th>
					<th>投聘时间</th>
					<th>操作</th>
				  </tr>
                `
				$("#table1").append(str);
				$.each(jobLogList,function (key,jobLog) {
					str="";
					if(collect.rstatus!=0){
						str+="<tr class='gq'>";
					}else{
						str+="<tr>";
					}
					str+="<td>"+jobLog.dwmc+"</td>" +
							"<td>"+jobLog.gwmc+"</td>" +
							"<td>"+jobLog.fbsj+"</td>" +
							"<td>"+jobLog.zprs+"</td>" +
							"<td>"+jobLog.xlyq+"</td>" +
							"<td>"+jobLog.gzdd+"</td>" +
							"<td>"+jobLog.gzfw+"</td>" +
							"<td>"+jobLog.tpsj+"</td>" +
							"<td><a href=\"javascript:void(0)\" onclick=\"delLog("+jobLog.id+");\">删除 </a>";
					str+="</td></tr>";
					$("#table1").append(str);
				})
			}
		});
	});
</script>
</head>

<body>
<div class="ban2">
    <div class="nav1">
    	<P><span>马力，欢迎登录！</span>  |  <a href="#">修改密码</a>  |  <a href="#">退出</a></P>
        <ul>
            <li><a href="gr_index.html">个人首页</a></li>
            <li><a href="gr_recruit_search.html">职位搜索</a></li>
            <li><a href="gr_recruit_collect.html">岗位收藏</a></li>
            <li><a href="gr_jobhuntinglog.html">求职记录</a></li>
        </ul>
    </div>
</div>

<div class="main mt12">
	<div class="fl w195">
    	<dl>
        	<dt><strong>常用功能</strong></dt>
            <dd><img src="../images/ico4.jpg"/><a href="gr_index.html" title="">登录信息</a></dd>
            <dd><img src="../images/ico8.jpg"/><a href="gr_resume_des.html" title="">简历浏览</a></dd>
			<dd><img src="../images/ico5.jpg"/><a href="gr_resume_update.html" title="">简历修改</a></dd>
        </dl>
    </div>
	<div class="fr w795">
    	<div class="yh-tit"><strong>求职记录</strong></div>
          <table border="0" cellspacing="0" cellpadding="0" class="zwlb" id="table1">
              <tr>
                <th>单位名称</th>
                <th>岗位名称</th>
                <th>发布时间</th>
                <th>招聘人数</th>
                <th>学历要求</th>
                <th>工作地点</th>
                <th>工资范围</th>
                <th>投聘时间</th>
                <th>操作</th>
              </tr>
	           <tr>
	                <td>塔城地区人力资源</td>
	                <td>会员维护拓展专员</td>
	                <td>2021-10-31</td>
	                <td>2</td>
	                <td>大专</td>
	                <td>上海</td>
	                <td>5000~6000</td>
	                <td>2013-11-02</td>
	                <td><a href="javascript:void(0)">删除</a></td>
	           </tr>
			   <tr>
	                <td>塔城地区人力资源</td>
	                <td>会员维护拓展专员</td>
	                <td>2021-10-31</td>
	                <td>2</td>
	                <td>大专</td>
	                <td>上海</td>
	                <td>5000~6000</td>
	                <td>2013-11-02</td>
	                <td><a href="javascript:void(0)">删除</a></td>
	           </tr>
			   <tr>
	                <td>塔城地区人力资源</td>
	                <td>会员维护拓展专员</td>
	                <td>2021-10-31</td>
	                <td>2</td>
	                <td>大专</td>
	                <td>上海</td>
	                <td>5000~6000</td>
	                <td>2013-11-02</td>
	                <td><a href="javascript:void(0)">删除</a></td>
	           </tr>
			   <tr>
	                <td>塔城地区人力资源</td>
	                <td>塔城地区人力资源</td>
	                <td>会员维护拓展专员</td>
	                <td>2021-10-31</td>
	                <td>2</td>
	                <td>大专</td>
	                <td>上海</td>
	                <td>5000~6000</td>
	                <td>2013-11-02</td>
	                <td><a href="javascript:void(0)">删除</a></td>
	           </tr>
              </table>
              <label id="label1" style="color:red"></label>
             <table border="0" cellspacing="0" cellpadding="0" class="num" >
              <tr>
                <td>
                  <!--<div class="list_page"><p><a href="#"><img src="images/list_pape_left.gif" /></a><span>1</span><a href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#"><img src="images/list_pape_right1.jpg" /></a><a href="#"><img src="images/list_pape_top.jpg" /></a></p></div>-->
				  <div class="tcdPageCode"></div>
        		</td>
              </tr>
             </table>
    </div>
</div>

<div class="foot">
    <ul>
      相关网站导航：<select name="menu1" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
          <option>-- 自  治 区 政 府 部 门 --</option>
        </select> 
        <select name="menu2" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
          <option>-- 地 州 网  站 --</option>
        </select>
            <select name="menu3" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
              <option>--主 要  新 闻  媒  体 --</option>
            </select>
            <select name="menu4" onchange="MM_jumpMenu('parent',this,0)" style="margin-left:20px;display:inline;">
              <option>-- 主 要 门 户 及 合 作 网 站 --</option>
            </select>
      </ul>
    
    <p>主办单位：塔城地区人力资源和社会保障局<br />技术支持：塔城地区人力资源和社会保障局信息化办公室</p>
</div>
<script>

	function delLog(id){
		$.ajax({
			url:"delLog.action",
			type:"POST",
			headers:{
				token:window.sessionStorage.getItem("token")
			},
			data:{
				id:id
			},
			success:function(data){
				if(data==1){
					alert("删除成功")
				}else {
					alert("删除失败")
				}
			}
		});
	}
</script>
</body>

</html>
